package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 车辆出库单
 * </p>
 *
 * @author caoYong
 * @since 2019-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_stock_out")
@ApiModel(value="StoStockOut对象", description="车辆出库单")
public class StoStockOut implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "STOCK_OUT_ID", type = IdType.UUID)
    private String stockOutId;

    @ApiModelProperty(value = "组织代码")
    @TableField("ORG_CODE")
    private String orgCode;

    @ApiModelProperty(value = "车辆出库单")
    @TableField("STOCK_OUT_NO")
    private String stockOutNo;

    @ApiModelProperty(value = "出库计划单号")
    @TableField("STOCK_OUT_PLAN_NO")
    private String stockOutPlanNo;

    @ApiModelProperty(value = "出库日期")
    @TableField("STOCK_OUT_DATE")
    private Date stockOutDate;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "库位代码")
    @TableField(value = "STORAGE_CODE")
    private String storageCode;

    @ApiModelProperty(value = "仓库代码")
    @TableField(value = "STORAGE_LOCATION_CODE")
    private String storageLocationCode;

    @ApiModelProperty(value = "出库类型")
    @TableField(value = "STOCK_OUT_TYPE")
    private String stockOutType;

    @ApiModelProperty(value = "产品类型")
    @TableField(value = "PRODUCT_TYPE")
    private String productType;

    @ApiModelProperty(value = "颜色")
    @TableField(value = "COLOR_NAME")
    private String colorName;

    @ApiModelProperty(value = "车型公告")
    @TableField(value = "ANNOUCEMENT_NUMBER")
    private String annoucementNumber;

    @ApiModelProperty(value = "车辆VIN码")
    @TableField(value = "VIN")
    private String vin;

    @ApiModelProperty(value = "发电机号")
    @TableField(value = "MOTOR_CODE")
    private String motorCode;

    @ApiModelProperty(value = "物料编码")
    @TableField(value = "NODE_CODE")
    private String nodeCode;

    @ApiModelProperty(value = "车辆内编")
    @TableField(value = "VEHICLE_INNER_CODE")
    private String vehicleInnerCode;

    @ApiModelProperty(value = "其他事项说明")
    @TableField(value = "REMARK")
    private String remark;

    @ApiModelProperty(value = "打单员")
    @TableField(value = "BILL_PRINTER")
    private String billPrinter;

    @ApiModelProperty(value = "报交员")
    @TableField(value = "BILL_REPORTER")
    private String billReporter;

    @ApiModelProperty(value = "出库PDI检验员")
    @TableField(value = "PDI_INSEPECTER")
    private String pdiInsepecter;

    @ApiModelProperty(value = "库管员")
    @TableField(value = "STOCK_MANAGER")
    private String stockManager;

    @ApiModelProperty(value = "出库司机")
    @TableField(value = "STOCK_OUT_DRIVER")
    private String stockOutDriver;

    @ApiModelProperty(value = "出VDC道闸时间")
    @TableField(value = "VDC_OUT_DATE")
    private Date vdcOutDate;

}
